Integration By Substitution

Definite Integrals

The method of integration by substitution involves transforming the integrand to be in a more manageable form by means of a change of variables, according to the formula

g(a)g(b)f(x)dx=abf(g(u))g(u)du

where g is continuously differentiable on [a,b].

The function g converts the new domain of integration in terms of u into the original domain of integration in terms of x. By taking f(g(u)), the function f can be evaluated in terms of this new domain. The bounds change to account for this difference of domain. Multiplying by the derivative adjusts by a squeezing or stretching factor. For example, the function x12x has a derivative 12 because it stretches intervals by a factor of 12.

In the case of integration by substitution, this stretch is at an infinitesimal point, over infinitely many points of the interval.

This makes the actual process of evaluating the left hand integral an x=g(u) substitution, before finding an a and b such that the bounds of the integral are g(a) and g(b).

Alternatively, one can apply this rule in reverse, by noticing that an integral is of the form abf(g(u))g(u)du and extracting the function g.

In short, using an x=g(u) substitution generally converts the integral in the following order:

g(a)g(b)f(x)dxabf(g(u))g(u)du

while an u=g(x) substitution converts the integral in the opposite order:

abf(g(x))g(x)dxg(a)g(b)f(u)du.

Integrals done using the first method may be done using the second by multiplying and dividing by appropriate factors.


As a precise claim, the change of variables formula is a corollary of the fundamental theorem of calculus, as may be evident from the way the right hand integrand looks like the left hand one after x=g(u) substitution and the chain rule.

Theorem

Given a continuous real valued function g with g continuous on [a,b], and real valued function f which continuous on an interval containing g(a) and g(b), the following formula holds

g(a)g(b)f(x)dx=abf(g(u))g(u)du.


Examples

011x2dx

Consider a specialised version of the diagram shown above for intuition.

So here if we substitute x=sin(θ)=g(θ), we have that dxdθ=g(θ)=cos(θ). This substitution is motivated by the pythagorean trigonometric identity 1sin2(θ)=cos2(θ).

Additionally, we must find an a and b such that g(a)=0 and g(b)=1, so we choose a=0 and b=π2. This is like finding the inverse function, however g need not be invertible, so we must simply find an inverse.

011x2dx=0π21sin2(θ)cos(θ)dθ=0π2cos2(θ)dθ=0π2(12+12cos(2θ))dθ=[θ2+14sin(2θ)]0π2=π4+14sin(π)0=π4

0102x(1+x2)5dx

In this case we observe that the integral is of the form:

abf(g(x))g(x)dx

where g(x)=1+x2, a=0 and b=10.

This means:

0102x(1+x2)5dx=1+021+102x5dx=16[x6]1101=16(10161)

Indefinite Integrals

When evaluating indefinite integrals by way of substitution, we observe the fact that:

f(g(x))g(x)du=F(g(x))+C,

where F(x)=f(x).

This is easy to prove by considering the derivative of each side, that is, it follows naturally from the chain rule.

Examples

This means, that in cases like:

2x(1x2)5dx

we can notice by inspection that it is of the form on the left with g(x)=1+x2 and hence the integral is 16(1x2)6.

In cases of integrals like:

1x2dx,

we can use a substitution of x=g(θ)=sin(θ) to transform the integral in to the form on the left, evaluate it directly, and then know that the answer is of the form F(g(θ)) and extract F from that.

1x2dx=1sin2(θ)dθ=cos2(θ)dθ=(12+12cos(2θ))dθ=θ2+sin(2θ)4=F(g(θ))

and hence:

F(x)=sin1(x)2+sin(2sin1(x))4.

Treating Infinitesimals as Variables

Often integration by substitution comes down to treating infinitesimals as variables, from the derivative. Here is an example

2x(1+x2)5dx

where a substitution of u=1+x2 implies that dudx=2xdu=2xdx. Then applying the substitution:

2x(1+x2)5dx=u5du.

This is not particularly rigorous, and one needs to take care when doing so. In general, this works nicely in terms of the algebra however one must note what the corresponding g(x) is from the formula and if that function is continuously differentiable.